<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9"/>
<title>NGUI: UIDragResize Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">NGUI
   &#160;<span id="projectnumber">3.11.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_u_i_drag_resize.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_u_i_drag_resize-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">UIDragResize Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>This script makes it possible to resize the specified widget by dragging on the object this script is attached to.  
 <a href="class_u_i_drag_resize.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for UIDragResize:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_u_i_drag_resize.png" usemap="#UIDragResize_map" alt=""/>
  <map id="UIDragResize_map" name="UIDragResize_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:af30798b87695d23205a2224a6c7abb11"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_u_i_widget.html">UIWidget</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_resize.html#af30798b87695d23205a2224a6c7abb11">target</a></td></tr>
<tr class="memdesc:af30798b87695d23205a2224a6c7abb11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Widget that will be dragged.  <a href="#af30798b87695d23205a2224a6c7abb11">More...</a><br /></td></tr>
<tr class="separator:af30798b87695d23205a2224a6c7abb11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a904a8e0d57463834473ebd585cf273bb"><td class="memItemLeft" align="right" valign="top">UIWidget.Pivot&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_resize.html#a904a8e0d57463834473ebd585cf273bb">pivot</a> = UIWidget.Pivot.BottomRight</td></tr>
<tr class="memdesc:a904a8e0d57463834473ebd585cf273bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Widget's pivot that will be dragged  <a href="#a904a8e0d57463834473ebd585cf273bb">More...</a><br /></td></tr>
<tr class="separator:a904a8e0d57463834473ebd585cf273bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aff9ded3b886151eef5a84492394d75"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_resize.html#a3aff9ded3b886151eef5a84492394d75">minWidth</a> = 100</td></tr>
<tr class="memdesc:a3aff9ded3b886151eef5a84492394d75"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum width the widget will be allowed to shrink to when resizing.  <a href="#a3aff9ded3b886151eef5a84492394d75">More...</a><br /></td></tr>
<tr class="separator:a3aff9ded3b886151eef5a84492394d75"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89c0f9805fe78ac17c4ab382828baff5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_resize.html#a89c0f9805fe78ac17c4ab382828baff5">minHeight</a> = 100</td></tr>
<tr class="memdesc:a89c0f9805fe78ac17c4ab382828baff5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimum height the widget will be allowed to shrink to when resizing.  <a href="#a89c0f9805fe78ac17c4ab382828baff5">More...</a><br /></td></tr>
<tr class="separator:a89c0f9805fe78ac17c4ab382828baff5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56e715fdc9ae4c6b0a66ab3b905d738b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_resize.html#a56e715fdc9ae4c6b0a66ab3b905d738b">maxWidth</a> = 100000</td></tr>
<tr class="memdesc:a56e715fdc9ae4c6b0a66ab3b905d738b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum width the widget will be allowed to expand to when resizing.  <a href="#a56e715fdc9ae4c6b0a66ab3b905d738b">More...</a><br /></td></tr>
<tr class="separator:a56e715fdc9ae4c6b0a66ab3b905d738b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62bf07f1a1916ab74b8a9b47217d3c7a"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_resize.html#a62bf07f1a1916ab74b8a9b47217d3c7a">maxHeight</a> = 100000</td></tr>
<tr class="memdesc:a62bf07f1a1916ab74b8a9b47217d3c7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Maximum height the widget will be allowed to expand to when resizing.  <a href="#a62bf07f1a1916ab74b8a9b47217d3c7a">More...</a><br /></td></tr>
<tr class="separator:a62bf07f1a1916ab74b8a9b47217d3c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2eedc42f6e8f18d1fbe82491e9dbebf0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_u_i_drag_resize.html#a2eedc42f6e8f18d1fbe82491e9dbebf0">updateAnchors</a> = false</td></tr>
<tr class="memdesc:a2eedc42f6e8f18d1fbe82491e9dbebf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">If set to 'true', the target object's anchors will be refreshed after each dragging operation.  <a href="#a2eedc42f6e8f18d1fbe82491e9dbebf0">More...</a><br /></td></tr>
<tr class="separator:a2eedc42f6e8f18d1fbe82491e9dbebf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>This script makes it possible to resize the specified widget by dragging on the object this script is attached to. </p>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a62bf07f1a1916ab74b8a9b47217d3c7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIDragResize.maxHeight = 100000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum height the widget will be allowed to expand to when resizing. </p>

</div>
</div>
<a class="anchor" id="a56e715fdc9ae4c6b0a66ab3b905d738b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIDragResize.maxWidth = 100000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Maximum width the widget will be allowed to expand to when resizing. </p>

</div>
</div>
<a class="anchor" id="a89c0f9805fe78ac17c4ab382828baff5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIDragResize.minHeight = 100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Minimum height the widget will be allowed to shrink to when resizing. </p>

</div>
</div>
<a class="anchor" id="a3aff9ded3b886151eef5a84492394d75"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int UIDragResize.minWidth = 100</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Minimum width the widget will be allowed to shrink to when resizing. </p>

</div>
</div>
<a class="anchor" id="a904a8e0d57463834473ebd585cf273bb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">UIWidget.Pivot UIDragResize.pivot = UIWidget.Pivot.BottomRight</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Widget's pivot that will be dragged </p>

</div>
</div>
<a class="anchor" id="af30798b87695d23205a2224a6c7abb11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_u_i_widget.html">UIWidget</a> UIDragResize.target</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Widget that will be dragged. </p>

</div>
</div>
<a class="anchor" id="a2eedc42f6e8f18d1fbe82491e9dbebf0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool UIDragResize.updateAnchors = false</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If set to 'true', the target object's anchors will be refreshed after each dragging operation. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>D:/WorkDir/Unity3D_Work/taidou_arpg/Assets/NGUI/Scripts/Interaction/UIDragResize.cs</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_u_i_drag_resize.html">UIDragResize</a></li>
    <li class="footer">Generated on Sat Jan 4 2020 22:30:28 for NGUI by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.9 </li>
  </ul>
</div>
</body>
</html>
